<template>
    <div v-isAdmin v-hasModule="lucy-disk">
        <!--该模块只开放给管理员-->
        <a-sub-menu key="Disk" v-isAdmin>
            <template #title>
                <span>
                    <folder-outlined />
                    <span>文件管理</span>
                </span>
            </template>
            <a-menu-item key="/disk/file">
                <router-link to="/disk/file">
                    <folder-open-outlined />
                    <span>我的文件</span>
                </router-link>
            </a-menu-item>
        </a-sub-menu>
    </div>
</template>
<script setup>
import {
    SafetyOutlined,
    UserOutlined,
    BranchesOutlined,
    UserAddOutlined,
    FolderOutlined,
    FolderOpenOutlined
} from '@ant-design/icons-vue'
const props = defineProps({
    theme: {
        type: String,
        default: 'light'
    }
})
</script>